package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.ChannelUsers;
import com.ytjj.qmyx.admin.model.ChannelUsersExample;
import java.util.List;

import com.ytjj.qmyx.admin.model.request.ChannelUsersRequest;
import com.ytjj.qmyx.admin.model.response.ChannelUsersResponse;
import org.apache.ibatis.annotations.Param;

public interface ChannelUsersMapper {
    long countByExample(ChannelUsersExample example);

    int deleteByExample(ChannelUsersExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ChannelUsers record);

    int insertSelective(ChannelUsers record);

    List<ChannelUsers> selectByExample(ChannelUsersExample example);

    ChannelUsers selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ChannelUsers record, @Param("example") ChannelUsersExample example);

    int updateByExample(@Param("record") ChannelUsers record, @Param("example") ChannelUsersExample example);

    int updateByPrimaryKeySelective(ChannelUsers record);

    int updateByPrimaryKey(ChannelUsers record);

    List<ChannelUsersResponse> select(ChannelUsersRequest request);

    List<ChannelUsersResponse> channelUsersByType();

    ChannelUsersResponse checkTel(String tel);
}